package cn.tedu.medicalpath.order.mapper;

import cn.tedu.medicalpath.order.pojo.param.OrderQuery;
import cn.tedu.medicalpath.order.pojo.vo.OrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    List<OrderVO> findInspectionsByPatientAndStatus(OrderQuery orderQuery);

    List<OrderVO> findPrescriptionsByPatientAndStatus(OrderQuery orderQuery);

    String findDoctorNameById(Long doctorId);


    void payInspection(@Param("id") Long id, @Param("status") String status);

    void payPrescription(@Param("id") Long id, @Param("status") String status);
}
